Beginner's Guide to Google Apps Script 3 - Drive (Step-by-step guides to Google Apps Script) by Barrie Roberts

Beginner's Guide to Google Apps Script 3 - Drive (Step-by-step guides to Google Apps Script) by Barrie Roberts

Author:Barrie Roberts [Roberts, Barrie]
Language: eng
Format: epub
Published: 2019-07-11T23:00:00+00:00


I hope you can see that will a little bit of code you can quickly create a PDF document you want, in a place you want it.

* * *

Example 62 – Creating a map

Blobs aren’t just useful for making PDFs, raw data can be captured for other uses. Here I’m going to quickly show how you can use a blob to store Google map data to then be able to produce an image of that map.

//Create image of a map

function example62() {

const map = Maps.newStaticMap().setCenter('Chepstow castle, Chepstow, UK');

DriveApp.createFile(map);

}



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.